package com.ccp.dev.form.model;

import com.ccp.dev.core.basic.model.BaseModel;
import com.ccp.dev.form.xml.constant.XmlConstant;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;


/**
 * SysBusEvent Model对象
 *
 * @author caishaofan
 */
@XmlRootElement(name = XmlConstant.SYS_BUS_EVENT)
@XmlAccessorType(XmlAccessType.NONE)
public class SysBusEvent extends BaseModel {

	@XmlElement
	protected String id;

	@XmlElement
	protected String formKey;

	@XmlElement
	protected String jsPreScript;

	@XmlElement
	protected String jsAfterScript;

	@XmlElement
	protected String preScript;

	@XmlElement
	protected String afterScript;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFormKey() {
		return formKey;
	}

	public void setFormKey(String formKey) {
		this.formKey = formKey;
	}

	public String getJsPreScript() {
		return jsPreScript;
	}

	public void setJsPreScript(String jsPreScript) {
		this.jsPreScript = jsPreScript;
	}

	public String getJsAfterScript() {
		return jsAfterScript;
	}

	public void setJsAfterScript(String jsAfterScript) {
		this.jsAfterScript = jsAfterScript;
	}

	public String getPreScript() {
		return preScript;
	}

	public void setPreScript(String preScript) {
		this.preScript = preScript;
	}

	public String getAfterScript() {
		return afterScript;
	}

	public void setAfterScript(String afterScript) {
		this.afterScript = afterScript;
	}

	@Override
	public String toString() {
		return "SysBusEvent{" +
				"id='" + id + '\'' +
				", formKey='" + formKey + '\'' +
				", jsPreScript='" + jsPreScript + '\'' +
				", jsAfterScript='" + jsAfterScript + '\'' +
				", preScript='" + preScript + '\'' +
				", afterScript='" + afterScript + '\'' +
				'}';
	}
}